import 'package:flutter/material.dart';

class CalendarProviderMag with ChangeNotifier {
  DateTime firstCurrentPageTime = DateTime.now();

  setFirstCurrentPageTime(DateTime time) {
    if (firstCurrentPageTime != time) {
      firstCurrentPageTime = time;
      notifyListeners();
    }
  }

  setInitFirstDate(DateTime time) {
    firstCurrentPageTime = time;
  }

  DateTime secondCurrentPageTime = DateTime.now();

  setSecondCurrentPageTime(DateTime time) {
    if (secondCurrentPageTime != time) {
      secondCurrentPageTime = time;
      notifyListeners();
    }
  }

  setSecondInitDate(DateTime time) {
    secondCurrentPageTime = time;
  }

  setSecondPageUpdate() {
    notifyListeners();
  }
}
